
<?php 
if(!Yii::app()->user->isGuest):
?>

	<div class="panel panel-primary">
		<div class="panel-heading">
			<h3 class="panel-title">Данные об аккаунте</h3>
		</div>
		<div class="panel-body">
		
			<table class="table">
		        <thead>
		          <tr>
		            <th>#</th>
		            <th>email</th>
		            <th>name</th>
		            <th>phone</th>
		            <th>site_link</th>
		            <th>address</th>
		            <th>type</th>
		          </tr>
		        </thead>
		        
		        <tbody>
		          <tr>
		            <td><?php echo Yii::app()->user->id;?></td>
		            <td><?php echo Yii::app()->user->email;?></td>
		            <td><?php echo Yii::app()->user->name;?></td>
		            <td><?php echo Yii::app()->user->phone;?></td>
		            <td><?php echo Yii::app()->user->site_link;?></td>
		            <td><?php echo Yii::app()->user->address;?></td>
		            <td><?php echo Yii::app()->user->type;?></td>
		          </tr>
		        </tbody>
		      </table>
		      
		</div>
	</div>

<?php
endif;
?>